

<fieldset class="layui-elem-field layui-field-title" >
    <legend>近10日加入的用户</legend>
</fieldset>
<!-- TODO 备注一下
//这里显示的是近7天订单的完成状况。目前是最后处理完所有订单的话，都会是中间的待完成待发货，都是0-->
<!--//是否应该显示当天订单的固定值。例如有多少张单是当天完成的。-->


<div class="layui-form">
    <table class="layui-table">
        <colgroup>
            <col width="50">
            <col width="150">
            <col >
            <col >

            <col >
            <col >
            <col >

        </colgroup>
        <thead>
        <tr>
            <th>头像</th>
            <th>姓名</th>
            <th>电话</th>
            <th>标签</th>
            <th>是否局长</th>
            <th>局长申请</th>
                  <th>加入时间</th>
            <!-- <th>下次联系</th>
             <th>来源</th>-->
            <th>平台</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>




        <?php
        for ($i = 0; $i < count($member_new); $i++) {
            ?>

 

            <tr id="item<?echo $member_new[$i]['nid']?>" <?if($applymodify['nid']){echo "style='color:red'";$status="审核中";}else{$status="正常";}?>>


                <td><div class="icon"><img src=" <?echo $member_new[$i]['headimgurl']?>"/></div></td>
                <td style="color:<?if($member_new[$i]['sex']=="1"){echo "#1e9fff";}elseif($member_new[$i]['sex']=="2"){echo "#ff1e7b";}?>">
                    <?echo $member_new[$i]['nickname']?>
                    <span >
        <?if($member_new[$i]['sex']=="1"){?>
            <i class="fa fa-male" aria-hidden="true">  </i>
        <?}elseif($member_new[$i]['sex']=="2"){?>
            <i class="fa fa-female" aria-hidden="true"></i>
        <?}?>
    </span>
                </td>


                <td><?echo $member_new[$i]['phone']?></td>
                <td><?echo $member_new[$i]['tag']?></td>
                <td><?echo $member_new[$i]['leader']?></td>
                <td><?echo $member_new[$i]['leader_apply']?></td>
                <td><?echo $member_new[$i]['createtime']?></td>
                <td>
                    <span class="layui-badge"> 小程序</span>
                    <?if($member_union_2_opennid[$member_new[$i]['unionid']]){?>
                        <span class="layui-badge layui-bg-green"> 公众号</span>
                    <?}?>
                </td>


                <td>
                    <a href="/controller/extender/member/view/detail-edit.php?nid=<?echo $member_new[$i]['nid']?><?echo $pagenumber_url.$sortby_url.$sys_part.$term_nid ?>"
                       class="layui-btn   layui-btn-sm" >
                        <i class="fa fa-file-text-o" aria-hidden="true"></i>
                        申请信息
                    </a>
                </td>



            </tr>
        <?}?>


        </tbody>
    </table>
</div>
